home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / sound / audiocd.zip / CD.H < prev    next >
C/C++ Source or Header  |  1992-10-24  |  1KB  |  41 lines

  1. /* Include file for CD player */
  2. #include <windows.h>
  3. #include <mmsystem.h>
  4. #include <string.h>
  5.  
  6. #define CDDIALOG        100
  7. #define IDM_EXIT        1000
  8. #define IDM_STATUS        1101
  9. #define IDM_PLAY        1102
  10. #define IDM_PAUSE        1103
  11. #define IDM_RESUME        1104
  12. #define IDM_STOP        1105
  13. #define IDM_BACK        1106
  14. #define IDM_FORWARD        1107
  15. #define IDM_EJECT       1108
  16. #define IDM_VOLUME      1109
  17. #define IDM_SHVOL        1110
  18. #define IDM_SHAUTH        1111
  19.  
  20. LONG FAR PASCAL WndProc(HWND, WORD, WORD, LONG);
  21. BOOL FAR PASCAL MainDlg(HWND, unsigned, WORD, LONG);
  22.  
  23. DWORD CD_ShowTrackTimes(UINT,LPSTR);
  24. DWORD CD_Stop(UINT);
  25. DWORD CD_Open(UINT);
  26. DWORD CD_Close(UINT);
  27. DWORD CD_Pause(UINT);
  28. DWORD CD_ResumePlay(UINT);
  29. DWORD CD_PlayTrack(UINT,BYTE,BYTE);
  30. DWORD CD_ChangeTrack(UINT,int);
  31. DWORD CD_GetDeviceInfo(UINT);
  32. int CD_GetCurrentTrack(UINT);
  33. int CD_GetCurrentStatus(UINT);
  34.  
  35. void showMCIError(DWORD);
  36.  
  37. #define WAITON()    SetCapture(hMainWnd); hSaveCursor=SetCursor(hHourGlass)
  38. #define WAITOFF()    SetCursor(hSaveCursor); ReleaseCapture()
  39.  
  40.  
  41.